home *** CD-ROM | disk | FTP | other *** search
- desc = getEffectDescriptionP(ENET_EFFECT_PS_ENVIRONMENT_EXPLOSION_BIG4)
-
- desc.ClassID = ENCLASS_SIMPLEPARTICLESYSTEM
- desc.EffectClassType = ENECT_PARTICLESYSTEM
-
- desc.ActivityType = ENACT_ACTIVE
-
- desc.ScriptSet = ENSCRIPTSET_UNKNOWN
- desc.RelativePosition = ENLOCALPOS_NOTSPECIFIED
- local vzbzd1 = D3DXVECTOR3:new(0,0,0)
- desc.LocalPosition = vzbzd1
- vzbzd1:delete()
- desc.isAnimateTexture = false
- desc.RenderType = ENRENDERTYPE_GEOMETRY
-
- Emitter = desc.PS.PSDescription
- Emitter.ParticleTypesNumber = 5
- local vzbzd2 = D3DXVECTOR3:new(0,10,0)
- Emitter.EmitterPosition = vzbzd2
- vzbzd2:delete()
- local vzbzd3 = D3DXVECTOR3:new(0,0,0)
- Emitter.EmitterDirection = vzbzd3
- vzbzd3:delete()
- Emitter.EmitterLifeTime = 1
-
-
- PT = Emitter.ParticleTypesParams[1]
- PT.IsEmitterLocked = false
- PT.DrawOrder = 5
- PT.Material = ENMAT_SIMPLEPARTICLE
-
- PT.TextureName = "environment_effect_explosion_trash1.dds"
-
- PT.ParticlesPerSecond = 0.1;
- PT.InitialNumberOfParticles = 30.0;
- PT.BaseLifeTime = 5.0;
- PT.BaseLifeTimeVariance = 0.0;
- PT.BaseSpeed = 2.0;
- PT.BaseSpeedVariance = 1.0;
-
- PT.TangentSpeed = 1.0;
- PT.TangentSpeedVariance = 1.5;
- local vzbzd4 = D3DXVECTOR3:new(1.0,0.0,0.0)
- PT.TangentDirection = vzbzd4
- vzbzd4:delete()
- PT.TangentAngleMin = 0.0;
- PT.TangentAngleMax = 6.28;
- PT.IsTangentDependOnBase = false;
-
- PT.BaseAngle = 3.0;
- PT.BaseAngleVariance = 5.0;
- PT.BaseAngleSpeed = 0.2;
- PT.BaseAngleSpeedVariance = 0.3;
- PT.BaseAngleSpeedDirection = 0;
- local vzbzd5 = D3DXVECTOR3:new(0.0,1.0,0.0)
- PT.BaseDirection = vzbzd5
- vzbzd5:delete()
- local vzbzd6 = D3DXVECTOR3:new(0.0,0.0,0.0)
- PT.BaseDirectionVariance = vzbzd6
- vzbzd6:delete()
- local vzbzd7 = D3DXVECTOR3:new(0,5,0)
- PT.BasePosition = vzbzd7
- vzbzd7:delete()
- local vzbzd8 = D3DXVECTOR3:new(25,12,25)
- PT.BasePositionVariance = vzbzd8
- vzbzd8:delete()
- PT.BaseSize = 3.0;
- PT.BaseSizeVariance = 1.0;
-
- -- color over time
- PT.ColorOverTimeR[1].TimePercent = 0.0;
- PT.ColorOverTimeR[1].Value = 0.5;
- PT.ColorOverTimeG[1].TimePercent = 0.0;
- PT.ColorOverTimeG[1].Value = 0.5;
- PT.ColorOverTimeB[1].TimePercent = 0.0;
- PT.ColorOverTimeB[1].Value = 0.5;
-
- PT.ColorOverTimeR[2].TimePercent = 1.0;
- PT.ColorOverTimeR[2].Value = 0.5;
- PT.ColorOverTimeG[2].TimePercent = 1.0;
- PT.ColorOverTimeG[2].Value = 0.5;
- PT.ColorOverTimeB[2].TimePercent = 1.0;
- PT.ColorOverTimeB[2].Value = 0.5;
-
- -- transparency over time
- PT.TransparencyOverTime[1].TimePercent = 0.0;
- PT.TransparencyOverTime[1].Value = 1.0;
-
- PT.TransparencyOverTime[2].TimePercent = 1.0;
- PT.TransparencyOverTime[2].Value = 1.0;
-
- -- size over time
- PT.SizeOverTime[1].TimePercent = 0.0;
- PT.SizeOverTime[1].Value = 2.0;
-
- PT.SizeOverTime[2].TimePercent = 0.2;
- PT.SizeOverTime[2].Value = 4.0;
-
- PT.SizeOverTime[3].TimePercent = 1.0;
- PT.SizeOverTime[3].Value = 6.0;
-
- -- Speed over time
- PT.SpeedOverTime[1].TimePercent = 0.0;
- PT.SpeedOverTime[1].Value = 20.0;
-
- PT.SpeedOverTime[2].TimePercent = 0.5;
- PT.SpeedOverTime[2].Value = 0.0;
-
- PT.SpeedOverTime[3].TimePercent = 1.0;
- PT.SpeedOverTime[3].Value = 0.0;
-
- -- Tangent Speed over time
- PT.TangentSpeedOverTime[1].TimePercent = 0.0;
- PT.TangentSpeedOverTime[1].Value = 40.0;
-
- PT.TangentSpeedOverTime[2].TimePercent = 0.03;
- PT.TangentSpeedOverTime[2].Value = 10.0;
-
- PT.TangentSpeedOverTime[3].TimePercent = 1.0;
- PT.TangentSpeedOverTime[3].Value = 20.0;
-
-
- -- GravityAcceleration over time
- PT.GravityAccelerationOverTime[1].TimePercent = 0.0;
- PT.GravityAccelerationOverTime[1].Value = 40.0;
-
- PT.GravityAccelerationOverTime[2].TimePercent = 0.2;
- PT.GravityAccelerationOverTime[2].Value = -50.0;
-
- PT.GravityAccelerationOverTime[3].TimePercent = 1.0;
- PT.GravityAccelerationOverTime[3].Value = -100.0;
-
- -- AngleSpeed over time
- PT.AngleSpeedOverTime[1].TimePercent = 0.0;
- PT.AngleSpeedOverTime[1].Value = 1.0;
-
- PT.AngleSpeedOverTime[2].TimePercent = 1.0;
- PT.AngleSpeedOverTime[2].Value = 2.0;
-
-
-
-
-
-
-
-
-
-
-
-
- PT = Emitter.ParticleTypesParams[2]
- PT.IsEmitterLocked = false
- PT.DrawOrder = 4
- PT.Material = ENMAT_SIMPLEPARTICLE
-
- PT.TextureName = "environment_effect_explosion_trash2.dds"
-
- PT.ParticlesPerSecond = 0.1;
- PT.InitialNumberOfParticles = 25.0;
- PT.BaseLifeTime = 5.0;
- PT.BaseLifeTimeVariance = 0.0;
- PT.BaseSpeed = 2.0;
- PT.BaseSpeedVariance = 1.0;
-
- PT.TangentSpeed = 1.0;
- PT.TangentSpeedVariance = 1.5;
- local vzbzd9 = D3DXVECTOR3:new(1.0,0.0,0.0)
- PT.TangentDirection = vzbzd9
- vzbzd9:delete()
- PT.TangentAngleMin = 0.0;
- PT.TangentAngleMax = 6.28;
- PT.IsTangentDependOnBase = false;
-
- PT.BaseAngle = 3.0;
- PT.BaseAngleVariance = 5.0;
- PT.BaseAngleSpeed = 0.2;
- PT.BaseAngleSpeedVariance = 0.3;
- PT.BaseAngleSpeedDirection = 0;
- local vzbzd10 = D3DXVECTOR3:new(0.0,1.0,0.0)
- PT.BaseDirection = vzbzd10
- vzbzd10:delete()
- local vzbzd11 = D3DXVECTOR3:new(0.0,0.0,0.0)
- PT.BaseDirectionVariance = vzbzd11
- vzbzd11:delete()
- local vzbzd12 = D3DXVECTOR3:new(0,5,0)
- PT.BasePosition = vzbzd12
- vzbzd12:delete()
- local vzbzd13 = D3DXVECTOR3:new(25,12,25)
- PT.BasePositionVariance = vzbzd13
- vzbzd13:delete()
- PT.BaseSize = 3.0;
- PT.BaseSizeVariance = 1.0;
-
- -- color over time
- PT.ColorOverTimeR[1].TimePercent = 0.0;
- PT.ColorOverTimeR[1].Value = 0.5;
- PT.ColorOverTimeG[1].TimePercent = 0.0;
- PT.ColorOverTimeG[1].Value = 0.5;
- PT.ColorOverTimeB[1].TimePercent = 0.0;
- PT.ColorOverTimeB[1].Value = 0.5;
-
- PT.ColorOverTimeR[2].TimePercent = 1.0;
- PT.ColorOverTimeR[2].Value = 0.5;
- PT.ColorOverTimeG[2].TimePercent = 1.0;
- PT.ColorOverTimeG[2].Value = 0.5;
- PT.ColorOverTimeB[2].TimePercent = 1.0;
- PT.ColorOverTimeB[2].Value = 0.5;
-
- -- transparency over time
- PT.TransparencyOverTime[1].TimePercent = 0.0;
- PT.TransparencyOverTime[1].Value = 1.0;
-
- PT.TransparencyOverTime[2].TimePercent = 1.0;
- PT.TransparencyOverTime[2].Value = 1.0;
-
- -- size over time
- PT.SizeOverTime[1].TimePercent = 0.0;
- PT.SizeOverTime[1].Value = 2.0;
-
- PT.SizeOverTime[2].TimePercent = 0.2;
- PT.SizeOverTime[2].Value = 4.0;
-
- PT.SizeOverTime[3].TimePercent = 1.0;
- PT.SizeOverTime[3].Value = 6.0;
-
- -- Speed over time
- PT.SpeedOverTime[1].TimePercent = 0.0;
- PT.SpeedOverTime[1].Value = 10.0;
-
- PT.SpeedOverTime[2].TimePercent = 0.5;
- PT.SpeedOverTime[2].Value = 0.0;
-
- PT.SpeedOverTime[3].TimePercent = 1.0;
- PT.SpeedOverTime[3].Value = 0.0;
-
- -- Tangent Speed over time
- PT.TangentSpeedOverTime[1].TimePercent = 0.0;
- PT.TangentSpeedOverTime[1].Value = 10.0;
-
- PT.TangentSpeedOverTime[2].TimePercent = 0.03;
- PT.TangentSpeedOverTime[2].Value = 10.0;
-
- PT.TangentSpeedOverTime[3].TimePercent = 1.0;
- PT.TangentSpeedOverTime[3].Value = 10.0;
-
-
- -- GravityAcceleration over time
- PT.GravityAccelerationOverTime[1].TimePercent = 0.0;
- PT.GravityAccelerationOverTime[1].Value = 80.0;
-
- PT.GravityAccelerationOverTime[2].TimePercent = 0.2;
- PT.GravityAccelerationOverTime[2].Value = -50.0;
-
- PT.GravityAccelerationOverTime[3].TimePercent = 1.0;
- PT.GravityAccelerationOverTime[3].Value = -100.0;
-
- -- AngleSpeed over time
- PT.AngleSpeedOverTime[1].TimePercent = 0.0;
- PT.AngleSpeedOverTime[1].Value = 1.0;
-
- PT.AngleSpeedOverTime[2].TimePercent = 1.0;
- PT.AngleSpeedOverTime[2].Value = 2.0;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PT = Emitter.ParticleTypesParams[3]
- PT.IsEmitterLocked = false
- PT.DrawOrder = 2
- PT.Material = ENMAT_SIMPLEPARTICLE
-
- PT.TextureName = "environment_effect_explosion_smoke6.dds"
-
-
- PT.ParticlesPerSecond = 0.1;
- PT.InitialNumberOfParticles = 20.0;
- PT.BaseLifeTime = 4.5;
- PT.BaseLifeTimeVariance = 0.1;
- PT.BaseSpeed = 5.0;
- PT.BaseSpeedVariance = 1.0;
-
- PT.TangentSpeed = 2.0;
- PT.TangentSpeedVariance = 0.1;
- local vzbzd14 = D3DXVECTOR3:new(1.0,0.0,0.0)
- PT.TangentDirection = vzbzd14
- vzbzd14:delete()
- PT.TangentAngleMin = 0.0;
- PT.TangentAngleMax = 6.28;
- PT.IsTangentDependOnBase = false;
-
- PT.BaseAngle = 3.0;
- PT.BaseAngleVariance = 5.0;
- PT.BaseAngleSpeed = 0.1;
- PT.BaseAngleSpeedVariance = 0.3;
- PT.BaseAngleSpeedDirection = 0;
- local vzbzd15 = D3DXVECTOR3:new(0.0,1.0,0.0)
- PT.BaseDirection = vzbzd15
- vzbzd15:delete()
- local vzbzd16 = D3DXVECTOR3:new(0.0,0.0,0.0)
- PT.BaseDirectionVariance = vzbzd16
- vzbzd16:delete()
- local vzbzd17 = D3DXVECTOR3:new(0,7,0)
- PT.BasePosition = vzbzd17
- vzbzd17:delete()
- local vzbzd18 = D3DXVECTOR3:new(15,15,15)
- PT.BasePositionVariance = vzbzd18
- vzbzd18:delete()
- PT.BaseSize = 4.0;
- PT.BaseSizeVariance = 0.7;
-
- -- color over time
- PT.ColorOverTimeR[1].TimePercent = 0.0;
- PT.ColorOverTimeR[1].Value = 0.5;
- PT.ColorOverTimeG[1].TimePercent = 0.0;
- PT.ColorOverTimeG[1].Value = 0.5;
- PT.ColorOverTimeB[1].TimePercent = 0.0;
- PT.ColorOverTimeB[1].Value = 0.5;
-
- PT.ColorOverTimeR[2].TimePercent = 1.0;
- PT.ColorOverTimeR[2].Value = 0.5;
- PT.ColorOverTimeG[2].TimePercent = 1.0;
- PT.ColorOverTimeG[2].Value = 0.5;
- PT.ColorOverTimeB[2].TimePercent = 1.0;
- PT.ColorOverTimeB[2].Value = 0.5;
-
- -- transparency over time
- PT.TransparencyOverTime[1].TimePercent = 0.0;
- PT.TransparencyOverTime[1].Value = 0.0;
-
- PT.TransparencyOverTime[2].TimePercent = 0.05;
- PT.TransparencyOverTime[2].Value = 0.8;
-
- PT.TransparencyOverTime[3].TimePercent = 0.1;
- PT.TransparencyOverTime[3].Value = 0.4;
-
- PT.TransparencyOverTime[4].TimePercent = 0.2;
- PT.TransparencyOverTime[4].Value = 0.6;
-
- PT.TransparencyOverTime[5].TimePercent = 0.6;
- PT.TransparencyOverTime[5].Value = 0.6;
-
- PT.TransparencyOverTime[6].TimePercent = 0.7;
- PT.TransparencyOverTime[6].Value = 0.2;
-
- PT.TransparencyOverTime[7].TimePercent = 1.0;
- PT.TransparencyOverTime[7].Value = 0.0;
-
- -- size over time
- PT.SizeOverTime[1].TimePercent = 0.0;
- PT.SizeOverTime[1].Value = 4.0;
-
- PT.SizeOverTime[2].TimePercent = 0.07;
- PT.SizeOverTime[2].Value = 12.0;
-
- PT.SizeOverTime[3].TimePercent = 1.0;
- PT.SizeOverTime[3].Value = 17.0;
-
- -- Speed over time
- PT.SpeedOverTime[1].TimePercent = 0.0;
- PT.SpeedOverTime[1].Value = 1.0;
-
- PT.SpeedOverTime[2].TimePercent = 0.4;
- PT.SpeedOverTime[2].Value = 1.0;
-
- PT.SpeedOverTime[3].TimePercent = 0.5;
- PT.SpeedOverTime[3].Value = 0.0;
-
- PT.SpeedOverTime[4].TimePercent = 1.0;
- PT.SpeedOverTime[4].Value = 0.0;
-
- -- Tangent Speed over time
- PT.TangentSpeedOverTime[1].TimePercent = 0.0;
- PT.TangentSpeedOverTime[1].Value = 5.0;
-
- PT.TangentSpeedOverTime[2].TimePercent = 0.4;
- PT.TangentSpeedOverTime[2].Value = 0.0;
-
- PT.TangentSpeedOverTime[3].TimePercent = 0.5;
- PT.TangentSpeedOverTime[3].Value = 0.0;
-
- PT.TangentSpeedOverTime[4].TimePercent = 1.0;
- PT.TangentSpeedOverTime[4].Value = 0.0;
-
-
- -- GravityAcceleration over time
- PT.GravityAccelerationOverTime[1].TimePercent = 0.0;
- PT.GravityAccelerationOverTime[1].Value = 0.0;
-
- PT.GravityAccelerationOverTime[2].TimePercent = 0.4;
- PT.GravityAccelerationOverTime[2].Value = 0.0;
-
- PT.GravityAccelerationOverTime[3].TimePercent = 1.0;
- PT.GravityAccelerationOverTime[3].Value = 0.0;
-
- -- AngleSpeed over time
- PT.AngleSpeedOverTime[1].TimePercent = 0.0;
- PT.AngleSpeedOverTime[1].Value = 1.0;
-
- PT.AngleSpeedOverTime[2].TimePercent = 1.0;
- PT.AngleSpeedOverTime[2].Value = 1.0;
-
-
-
-
-
-
-
-
-
-
-
- PT = Emitter.ParticleTypesParams[5]
- PT.IsEmitterLocked = false
- PT.DrawOrder = 1
- PT.Material = ENMAT_SIMPLEPARTICLE
-
- PT.TextureName = "environment_effect_explosion_smoke12.dds"
-
-
- PT.ParticlesPerSecond = 0.1;
- PT.InitialNumberOfParticles = 10.0;
- PT.BaseLifeTime = 10.0;
- PT.BaseLifeTimeVariance = 0.0;
- PT.BaseSpeed = 5.0;
- PT.BaseSpeedVariance = 1.0;
-
- PT.TangentSpeed = 2.0;
- PT.TangentSpeedVariance = 0.1;
- local vzbzd19 = D3DXVECTOR3:new(1.0,0.0,0.0)
- PT.TangentDirection = vzbzd19
- vzbzd19:delete()
- PT.TangentAngleMin = 0.0;
- PT.TangentAngleMax = 6.28;
- PT.IsTangentDependOnBase = false;
-
- PT.BaseAngle = 3.0;
- PT.BaseAngleVariance = 5.0;
- PT.BaseAngleSpeed = 0.05;
- PT.BaseAngleSpeedVariance = 0.0;
- PT.BaseAngleSpeedDirection = 0;
- local vzbzd20 = D3DXVECTOR3:new(0.0,1.0,0.0)
- PT.BaseDirection = vzbzd20
- vzbzd20:delete()
- local vzbzd21 = D3DXVECTOR3:new(0.0,0.0,0.0)
- PT.BaseDirectionVariance = vzbzd21
- vzbzd21:delete()
- local vzbzd22 = D3DXVECTOR3:new(0,5,0)
- PT.BasePosition = vzbzd22
- vzbzd22:delete()
- local vzbzd23 = D3DXVECTOR3:new(15,5,15)
- PT.BasePositionVariance = vzbzd23
- vzbzd23:delete()
- PT.BaseSize = 3.0;
- PT.BaseSizeVariance = 0.7;
-
- -- color over time
- PT.ColorOverTimeR[1].TimePercent = 0.0;
- PT.ColorOverTimeR[1].Value = 0.5;
- PT.ColorOverTimeG[1].TimePercent = 0.0;
- PT.ColorOverTimeG[1].Value = 0.5;
- PT.ColorOverTimeB[1].TimePercent = 0.0;
- PT.ColorOverTimeB[1].Value = 0.5;
-
- PT.ColorOverTimeR[2].TimePercent = 1.0;
- PT.ColorOverTimeR[2].Value = 0.5;
- PT.ColorOverTimeG[2].TimePercent = 1.0;
- PT.ColorOverTimeG[2].Value = 0.5;
- PT.ColorOverTimeB[2].TimePercent = 1.0;
- PT.ColorOverTimeB[2].Value = 0.5;
-
- -- transparency over time
- PT.TransparencyOverTime[1].TimePercent = 0.0;
- PT.TransparencyOverTime[1].Value = 0.0;
-
- PT.TransparencyOverTime[2].TimePercent = 0.2;
- PT.TransparencyOverTime[2].Value = 0.3;
-
- PT.TransparencyOverTime[3].TimePercent = 0.8;
- PT.TransparencyOverTime[3].Value = 0.2;
-
- PT.TransparencyOverTime[4].TimePercent = 1.0;
- PT.TransparencyOverTime[4].Value = 0.0;
-
- -- size over time
- PT.SizeOverTime[1].TimePercent = 0.0;
- PT.SizeOverTime[1].Value = 4.0;
-
- PT.SizeOverTime[2].TimePercent = 0.07;
- PT.SizeOverTime[2].Value = 12.0;
-
- PT.SizeOverTime[3].TimePercent = 1.0;
- PT.SizeOverTime[3].Value = 17.0;
-
- -- Speed over time
- PT.SpeedOverTime[1].TimePercent = 0.0;
- PT.SpeedOverTime[1].Value = 1.0;
-
- PT.SpeedOverTime[2].TimePercent = 0.4;
- PT.SpeedOverTime[2].Value = 1.0;
-
- PT.SpeedOverTime[3].TimePercent = 0.5;
- PT.SpeedOverTime[3].Value = 0.0;
-
- PT.SpeedOverTime[4].TimePercent = 1.0;
- PT.SpeedOverTime[4].Value = 0.0;
-
- -- Tangent Speed over time
- PT.TangentSpeedOverTime[1].TimePercent = 0.0;
- PT.TangentSpeedOverTime[1].Value = 5.0;
-
- PT.TangentSpeedOverTime[2].TimePercent = 0.4;
- PT.TangentSpeedOverTime[2].Value = 0.0;
-
- PT.TangentSpeedOverTime[3].TimePercent = 0.5;
- PT.TangentSpeedOverTime[3].Value = 0.0;
-
- PT.TangentSpeedOverTime[4].TimePercent = 1.0;
- PT.TangentSpeedOverTime[4].Value = 0.0;
-
-
- -- GravityAcceleration over time
- PT.GravityAccelerationOverTime[1].TimePercent = 0.0;
- PT.GravityAccelerationOverTime[1].Value = 0.0;
-
- PT.GravityAccelerationOverTime[2].TimePercent = 0.4;
- PT.GravityAccelerationOverTime[2].Value = 0.0;
-
- PT.GravityAccelerationOverTime[3].TimePercent = 1.0;
- PT.GravityAccelerationOverTime[3].Value = 0.0;
-
- -- AngleSpeed over time
- PT.AngleSpeedOverTime[1].TimePercent = 0.0;
- PT.AngleSpeedOverTime[1].Value = 1.0;
-
- PT.AngleSpeedOverTime[2].TimePercent = 1.0;
- PT.AngleSpeedOverTime[2].Value = 1.0;
-
-
-
-
-
-
-
- PT = Emitter.ParticleTypesParams[4]
- PT.IsEmitterLocked = false
- PT.DrawOrder = 3
- PT.Material = ENMAT_PARTICLE_LIGHT
-
- PT.TextureName = "environment_effect_explosion_sparkles1.dds"
-
-
- PT.ParticlesPerSecond = 0.1;
- PT.InitialNumberOfParticles = 15.0;
- PT.BaseLifeTime = 4.0;
- PT.BaseLifeTimeVariance = 0.3;
- PT.BaseSpeed = 5.0;
- PT.BaseSpeedVariance = 1.0;
-
- PT.TangentSpeed = 2.0;
- PT.TangentSpeedVariance = 0.1;
- local vzbzd24 = D3DXVECTOR3:new(1.0,0.0,0.0)
- PT.TangentDirection = vzbzd24
- vzbzd24:delete()
- PT.TangentAngleMin = 0.0;
- PT.TangentAngleMax = 6.28;
- PT.IsTangentDependOnBase = false;
-
- PT.BaseAngle = 3.0;
- PT.BaseAngleVariance = 5.0;
- PT.BaseAngleSpeed = 0.0;
- PT.BaseAngleSpeedVariance = 0.0;
- PT.BaseAngleSpeedDirection = 0;
- local vzbzd25 = D3DXVECTOR3:new(0.0,1.0,0.0)
- PT.BaseDirection = vzbzd25
- vzbzd25:delete()
- local vzbzd26 = D3DXVECTOR3:new(0.0,0.0,0.0)
- PT.BaseDirectionVariance = vzbzd26
- vzbzd26:delete()
- local vzbzd27 = D3DXVECTOR3:new(0,18,0)
- PT.BasePosition = vzbzd27
- vzbzd27:delete()
- local vzbzd28 = D3DXVECTOR3:new(25,35,25)
- PT.BasePositionVariance = vzbzd28
- vzbzd28:delete()
- PT.BaseSize = 3.0;
- PT.BaseSizeVariance = 0.7;
-
- -- color over time
- PT.ColorOverTimeR[1].TimePercent = 0.0;
- PT.ColorOverTimeR[1].Value = 0.4;
- PT.ColorOverTimeG[1].TimePercent = 0.0;
- PT.ColorOverTimeG[1].Value = 0.5;
- PT.ColorOverTimeB[1].TimePercent = 0.0;
- PT.ColorOverTimeB[1].Value = 0.6;
-
- PT.ColorOverTimeR[2].TimePercent = 1.0;
- PT.ColorOverTimeR[2].Value = 0.5;
- PT.ColorOverTimeG[2].TimePercent = 1.0;
- PT.ColorOverTimeG[2].Value = 0.5;
- PT.ColorOverTimeB[2].TimePercent = 1.0;
- PT.ColorOverTimeB[2].Value = 0.5;
-
- -- transparency over time
- PT.TransparencyOverTime[1].TimePercent = 0.0;
- PT.TransparencyOverTime[1].Value = 0.5;
-
- PT.TransparencyOverTime[2].TimePercent = 0.3;
- PT.TransparencyOverTime[2].Value = 0.1;
-
- PT.TransparencyOverTime[3].TimePercent = 0.4;
- PT.TransparencyOverTime[3].Value = 0.2;
-
- PT.TransparencyOverTime[4].TimePercent = 0.6;
- PT.TransparencyOverTime[4].Value = 0.2;
-
- PT.TransparencyOverTime[5].TimePercent = 1.0;
- PT.TransparencyOverTime[5].Value = 0.0;
-
- -- size over time
- PT.SizeOverTime[1].TimePercent = 0.0;
- PT.SizeOverTime[1].Value = 4.0;
-
- PT.SizeOverTime[2].TimePercent = 0.07;
- PT.SizeOverTime[2].Value = 18.0;
-
- PT.SizeOverTime[3].TimePercent = 1.0;
- PT.SizeOverTime[3].Value = 22.0;
-
- -- Speed over time
- PT.SpeedOverTime[1].TimePercent = 0.0;
- PT.SpeedOverTime[1].Value = 0.0;
-
- PT.SpeedOverTime[2].TimePercent = 0.4;
- PT.SpeedOverTime[2].Value = 0.0;
-
- PT.SpeedOverTime[3].TimePercent = 0.5;
- PT.SpeedOverTime[3].Value = 0.0;
-
- PT.SpeedOverTime[4].TimePercent = 1.0;
- PT.SpeedOverTime[4].Value = 0.0;
-
- -- Tangent Speed over time
- PT.TangentSpeedOverTime[1].TimePercent = 0.0;
- PT.TangentSpeedOverTime[1].Value = 0.0;
-
- PT.TangentSpeedOverTime[2].TimePercent = 0.4;
- PT.TangentSpeedOverTime[2].Value = 0.0;
-
- PT.TangentSpeedOverTime[3].TimePercent = 0.5;
- PT.TangentSpeedOverTime[3].Value = 0.0;
-
- PT.TangentSpeedOverTime[4].TimePercent = 1.0;
- PT.TangentSpeedOverTime[4].Value = 0.0;
-
-
- -- GravityAcceleration over time
- PT.GravityAccelerationOverTime[1].TimePercent = 0.0;
- PT.GravityAccelerationOverTime[1].Value = 0.0;
-
- PT.GravityAccelerationOverTime[2].TimePercent = 0.4;
- PT.GravityAccelerationOverTime[2].Value = 0.0;
-
- PT.GravityAccelerationOverTime[3].TimePercent = 1.0;
- PT.GravityAccelerationOverTime[3].Value = 0.0;
-
- -- AngleSpeed over time
- PT.AngleSpeedOverTime[1].TimePercent = 0.0;
- PT.AngleSpeedOverTime[1].Value = 1.0;
-
- PT.AngleSpeedOverTime[2].TimePercent = 1.0;
- PT.AngleSpeedOverTime[2].Value = 1.0;
-
-
-
-